package com.stellar.circle.convert;

import com.stellar.circle.basic.entity.SSchoolAdmin;
import com.stellar.circle.controller.admin.sSchoolAdmin.vo.SSchoolAdminRequestPageVO;
import com.stellar.circle.controller.admin.sSchoolAdmin.vo.SSchoolAdminRequestVO;
import com.stellar.circle.controller.admin.sSchoolAdmin.vo.SSchoolAdminResponseVO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
 * 学校管理员映射表转换器
 * @author Jqchan
 * @version 1.0
 * @date 2025-05-17 18:48:53
 */
@Mapper
public interface SSchoolAdminConvert {

    SSchoolAdminConvert INSTANCE = Mappers.getMapper(SSchoolAdminConvert.class);

    SSchoolAdmin convert(SSchoolAdminResponseVO responseVO);

    SSchoolAdmin convert(SSchoolAdminRequestVO requestVO);

    SSchoolAdmin convert(SSchoolAdminRequestPageVO requestPageVO);

    SSchoolAdminResponseVO convert(SSchoolAdmin entity);

    List<SSchoolAdminResponseVO> convertEntityToRespList(List<SSchoolAdmin> entities);
}
